<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>数组练习</title>
	</head>
	<body>
		<script type="text/javascript">
			<!--创建数组-->
		var a1=new Array();
		a1[0]="tom";
		a1[1]="18";
		a1[2]="昆明";
		console.log(a1.length,typeof a1);
		for(var i=0;i<a1.length;i++){
			console.log("==>",a1[i]);
		}
	
	</body	</script>>
</html>
